package com.neusoft.neuiotms.dcom.dto;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.neusoft.bizcore.web.dto.AbstractAuditDTO;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class InspectionTaskDTO extends AbstractAuditDTO {
    private static final long serialVersionUID = 4703004476020315611L;

    /** 巡检名称 **/
    private String name;

    /** 巡检类型 **/
    private String inspectionType;

    /** 领取人编码 **/
    private String claimCode;

    /** 领取人名称 **/
    private String claimName;

    /** 巡检人编码 **/
    private String usercode;

    /** 巡检人名称 **/
    private String username;

    /** 任务状态 **/
    private String status;

    /** 正常点数 **/
    private Integer normal;

    /** 告警点数 **/
    private Integer alarm;

    /** 预警点数 **/
    private Integer earlyWarning;

    /** 未巡检点数 **/
    private Integer uninspected;

    /** 计划任务开始时间 **/
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTaskTime;

    /** 计划任务结束时间 **/
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTaskTime;

    /** 任务领取时间 **/
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date getTaskTime;

    /** 实际完成时间 **/
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date finishTaskTime;

    /** 备注 **/
    private String note;

    //    private InspectionRule inspectionRule;

    private List<InspectionTaskProjectDTO> inspectionTaskProject;

}
